interface FromModel {
  username: number | null
  password: string
}

interface RegisterFormModal extends FromModel {
  valiCode: string
}

interface Register {
  formModel: RegisterFormModal
  secPassword: string
  verification: number | string
  mobileReg: RegExp
  isRegister: boolean
}

interface Login {
  formModel: FromModel
  showPasswordState: boolean
  passwordType: string,
  isPasswordLogin: boolean
  verification: string | number
  mobileReg: RegExp
  usernameErrorMsg: string
  passwordErrorMsg: string
}

export {
  Register,
  RegisterFormModal,
  Login
}